package com.ninth.element.generated.number.generate.fallback;

import com.ninth.element.generated.number.generate.uuid.OpenUuid;

/**
 * 默认的ID服务降级策略-采用随机数+UUID
 *
 * @author LiYUJi
 */
public class DefaultIdFallback implements IdFallback {

    @Override
    public String nextId() {
        return String.valueOf(OpenUuid.uuid());
    }
}
